﻿@using Whoever.Framework.Enum;

@using Comswing.Website.Models.BitcoinViewModels;

@model BitcoinViewModel

<div class="row" data-bind="with: viewModel.BitcoinState">
    <div class="col-md-4">
        <div class="form-group">
            <h2>@Html.LocalizedText("CotizationTitle") @Html.KOLocalizedHelp("Help.Cotization", MessageType.Info, "")</h2>
            @Html.Partial("_BitcoinWeightledPrices", Model.WeightledPrices)
            @Html.LocalizedLabelFor(m => m.LastUpdate)
            @Html.KOLocalizedHelpFor(m => m.LastUpdate, MessageType.Info, "")
            <div class="pull-right">
                <span data-bind="text: comswing.DateTime(LastUpdate())"></span>
            </div>
        </div>
    </div>
    <div class="col-md-8">
        <div class="form-group">
        </div>
    </div>
</div>
